#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include<math.h>
int main()

{
	int i = 0;
	int j = 0;
	int flag;
	for (i = 101; i <= 200; i+=2)
	{
		flag = 1;
		for (j = 2; j <= sqrt(i); j++)
		{
			if(i%j==0)
			{
				flag = 0; 
				break;
			}

		}
		if (flag == 1)
			printf("%d ", i);


	}


	return 0;

}